<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<% 
String path = request.getContextPath(); 
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="refresh" content='5; url=register.jsp'>
<script type="text/javascript">
     var time =5;
     function  aaa()
   {
    window.setTimeout('aaa()', 1000);
    time=time-1;
    document.getElementById("bb").innerHTML=time;
   
   }    
 </script>
<base href="<%=basePath%>">
<title>welcome</title>
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">  
<script src="https://cdn.staticfile.org/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body onload="aaa()">
 <p >注册失败，校园卡号已存在，请重新注册...</p><br>
 <span id="bb" style="color:red;">time </span>秒后将自动跳转到注册页面。<br>
 </body>
</html>

